package com.runa.monitor.platinterface.backwork.function;

import com.runa.monitor.platinterface.netservice.connect.commstatus.CommStatus;

/**
 * @author zhuj
 */
public class AbstractTaskFunction<S, T, R> implements TaskFunction<S, T, R> {

    private String message;

    @Override
    public void setStatus(S s) {

    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public void doApply(CommStatus status, T t) {

    }

    @Override
    public R waitResult() {
        return null;
    }

    @Override
    public String getSerial() {
        return null;
    }

    @Override
    public int getPriority() {
        return 0;
    }

    public String getTask() {
        return null;
    }

    public String getMessage() {
        return message;
    }

}
